You are here: COM Interface > Interfaces > ISearchJob Interface > ISearchJob::AddIndexToSearch Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
ISearchJob::AddIndexToSearch Method
Syntax
IDL
HRESULT AddIndexToSearch([in] BSTR IndexPath);

Add an index path to the IndexesToSearch string. AddIndexToSearch takes care of adding quotation marks where needed (if an index path contains a space) and should be used instead of directly assigning to IndexesToSearch.